package generatorRouter

import (
	"CommonsProject/controller/generatorController"
	generatorRepository "CommonsProject/repository/generatorRepository"
	generatorService "CommonsProject/service/generatorService"
	"github.com/gin-gonic/gin"
	"gorm.io/gorm"
)

func registerGeneratorController(engine *gin.Engine, db *gorm.DB) {
	(&generatorController.ProduceController{
		Service: &generatorService.TableProduceService{
			Repository: &generatorRepository.TableProduceRepository{db},
		},
	}).Register(engine)
}
